home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global gCurriculum
- if the platform contains "windows" then
- set loePath to the pathName
- repeat while the last char in loePath <> "\"
- delete char -30000 of loePath
- end repeat
- delete char -30000 of loePath
- repeat while the last char in loePath <> "\"
- delete char -30000 of loePath
- end repeat
- set loe to loePath & "Planning Express\loe.exe"
- set err to OpenApp(loe, "AB", gCurriculum)
- else
- set err to "none"
- set loePath to the pathName
- repeat while the last char in loePath <> ":"
- delete char -30000 of loePath
- end repeat
- set db to loePath & gCurriculum & ".ped"
- delete char -30000 of loePath
- repeat while the last char in loePath <> ":"
- delete char -30000 of loePath
- end repeat
- set loe to loePath & "Planning Express:Local Objectives Editor"
- open(db, loe)
- end if
- if err <> "none" then
- alert(err)
- go("main")
- end if
- end
-